# -*- coding: utf-8 -*-
# @Time : 2021/3/5 14:59
# @Author : 加钱哥
# @Email : scg@gmail.com
# @File : base_case_two.py
# @Project : xiaobai


import requests
import unittest
from tools.tool_open_yaml import read_two
class BaseCase(unittest.TestCase):
    @classmethod
    def setUpClass(self) -> None:
        datas=read_two()
        data =datas[0].get('data')
        API_URL =datas[0].get('api')
        print("----------------------------------------------")
        res=requests.post(API_URL, data=data)
        print(res.text)


